# -*- coding: utf-8 -*-
from . import dao
from . import tasks


def get_site(site_url, name, slug=None):
    return dao.get_site(site_url,name,slug)


def save_article_async(site_id,article):
    tasks.save_article_task.delay(site_id,article)    
